package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderRecordsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public OrderRecordsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUshOrnoIsNull() {
            addCriterion("ush_orno is null");
            return (Criteria) this;
        }

        public Criteria andUshOrnoIsNotNull() {
            addCriterion("ush_orno is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrnoEqualTo(String value) {
            addCriterion("ush_orno =", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoNotEqualTo(String value) {
            addCriterion("ush_orno <>", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoGreaterThan(String value) {
            addCriterion("ush_orno >", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orno >=", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoLessThan(String value) {
            addCriterion("ush_orno <", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoLessThanOrEqualTo(String value) {
            addCriterion("ush_orno <=", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoLike(String value) {
            addCriterion("ush_orno like", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoNotLike(String value) {
            addCriterion("ush_orno not like", value, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoIn(List<String> values) {
            addCriterion("ush_orno in", values, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoNotIn(List<String> values) {
            addCriterion("ush_orno not in", values, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoBetween(String value1, String value2) {
            addCriterion("ush_orno between", value1, value2, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUshOrnoNotBetween(String value1, String value2) {
            addCriterion("ush_orno not between", value1, value2, "ushOrno");
            return (Criteria) this;
        }

        public Criteria andUnoIsNull() {
            addCriterion("uno is null");
            return (Criteria) this;
        }

        public Criteria andUnoIsNotNull() {
            addCriterion("uno is not null");
            return (Criteria) this;
        }

        public Criteria andUnoEqualTo(String value) {
            addCriterion("uno =", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotEqualTo(String value) {
            addCriterion("uno <>", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThan(String value) {
            addCriterion("uno >", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThanOrEqualTo(String value) {
            addCriterion("uno >=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThan(String value) {
            addCriterion("uno <", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThanOrEqualTo(String value) {
            addCriterion("uno <=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLike(String value) {
            addCriterion("uno like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotLike(String value) {
            addCriterion("uno not like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoIn(List<String> values) {
            addCriterion("uno in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotIn(List<String> values) {
            addCriterion("uno not in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoBetween(String value1, String value2) {
            addCriterion("uno between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotBetween(String value1, String value2) {
            addCriterion("uno not between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andShnoIsNull() {
            addCriterion("shno is null");
            return (Criteria) this;
        }

        public Criteria andShnoIsNotNull() {
            addCriterion("shno is not null");
            return (Criteria) this;
        }

        public Criteria andShnoEqualTo(String value) {
            addCriterion("shno =", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoNotEqualTo(String value) {
            addCriterion("shno <>", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoGreaterThan(String value) {
            addCriterion("shno >", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoGreaterThanOrEqualTo(String value) {
            addCriterion("shno >=", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoLessThan(String value) {
            addCriterion("shno <", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoLessThanOrEqualTo(String value) {
            addCriterion("shno <=", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoLike(String value) {
            addCriterion("shno like", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoNotLike(String value) {
            addCriterion("shno not like", value, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoIn(List<String> values) {
            addCriterion("shno in", values, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoNotIn(List<String> values) {
            addCriterion("shno not in", values, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoBetween(String value1, String value2) {
            addCriterion("shno between", value1, value2, "shno");
            return (Criteria) this;
        }

        public Criteria andShnoNotBetween(String value1, String value2) {
            addCriterion("shno not between", value1, value2, "shno");
            return (Criteria) this;
        }

        public Criteria andCotnoIsNull() {
            addCriterion("cotno is null");
            return (Criteria) this;
        }

        public Criteria andCotnoIsNotNull() {
            addCriterion("cotno is not null");
            return (Criteria) this;
        }

        public Criteria andCotnoEqualTo(String value) {
            addCriterion("cotno =", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoNotEqualTo(String value) {
            addCriterion("cotno <>", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoGreaterThan(String value) {
            addCriterion("cotno >", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoGreaterThanOrEqualTo(String value) {
            addCriterion("cotno >=", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoLessThan(String value) {
            addCriterion("cotno <", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoLessThanOrEqualTo(String value) {
            addCriterion("cotno <=", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoLike(String value) {
            addCriterion("cotno like", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoNotLike(String value) {
            addCriterion("cotno not like", value, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoIn(List<String> values) {
            addCriterion("cotno in", values, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoNotIn(List<String> values) {
            addCriterion("cotno not in", values, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoBetween(String value1, String value2) {
            addCriterion("cotno between", value1, value2, "cotno");
            return (Criteria) this;
        }

        public Criteria andCotnoNotBetween(String value1, String value2) {
            addCriterion("cotno not between", value1, value2, "cotno");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateIsNull() {
            addCriterion("ush_orStartDate is null");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateIsNotNull() {
            addCriterion("ush_orStartDate is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateEqualTo(Date value) {
            addCriterion("ush_orStartDate =", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateNotEqualTo(Date value) {
            addCriterion("ush_orStartDate <>", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateGreaterThan(Date value) {
            addCriterion("ush_orStartDate >", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateGreaterThanOrEqualTo(Date value) {
            addCriterion("ush_orStartDate >=", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateLessThan(Date value) {
            addCriterion("ush_orStartDate <", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateLessThanOrEqualTo(Date value) {
            addCriterion("ush_orStartDate <=", value, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateIn(List<Date> values) {
            addCriterion("ush_orStartDate in", values, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateNotIn(List<Date> values) {
            addCriterion("ush_orStartDate not in", values, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateBetween(Date value1, Date value2) {
            addCriterion("ush_orStartDate between", value1, value2, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrstartdateNotBetween(Date value1, Date value2) {
            addCriterion("ush_orStartDate not between", value1, value2, "ushOrstartdate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateIsNull() {
            addCriterion("ush_orEndDate is null");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateIsNotNull() {
            addCriterion("ush_orEndDate is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateEqualTo(Date value) {
            addCriterion("ush_orEndDate =", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateNotEqualTo(Date value) {
            addCriterion("ush_orEndDate <>", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateGreaterThan(Date value) {
            addCriterion("ush_orEndDate >", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateGreaterThanOrEqualTo(Date value) {
            addCriterion("ush_orEndDate >=", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateLessThan(Date value) {
            addCriterion("ush_orEndDate <", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateLessThanOrEqualTo(Date value) {
            addCriterion("ush_orEndDate <=", value, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateIn(List<Date> values) {
            addCriterion("ush_orEndDate in", values, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateNotIn(List<Date> values) {
            addCriterion("ush_orEndDate not in", values, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateBetween(Date value1, Date value2) {
            addCriterion("ush_orEndDate between", value1, value2, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrenddateNotBetween(Date value1, Date value2) {
            addCriterion("ush_orEndDate not between", value1, value2, "ushOrenddate");
            return (Criteria) this;
        }

        public Criteria andUshOrreqIsNull() {
            addCriterion("ush_orReq is null");
            return (Criteria) this;
        }

        public Criteria andUshOrreqIsNotNull() {
            addCriterion("ush_orReq is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrreqEqualTo(String value) {
            addCriterion("ush_orReq =", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqNotEqualTo(String value) {
            addCriterion("ush_orReq <>", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqGreaterThan(String value) {
            addCriterion("ush_orReq >", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orReq >=", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqLessThan(String value) {
            addCriterion("ush_orReq <", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqLessThanOrEqualTo(String value) {
            addCriterion("ush_orReq <=", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqLike(String value) {
            addCriterion("ush_orReq like", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqNotLike(String value) {
            addCriterion("ush_orReq not like", value, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqIn(List<String> values) {
            addCriterion("ush_orReq in", values, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqNotIn(List<String> values) {
            addCriterion("ush_orReq not in", values, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqBetween(String value1, String value2) {
            addCriterion("ush_orReq between", value1, value2, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrreqNotBetween(String value1, String value2) {
            addCriterion("ush_orReq not between", value1, value2, "ushOrreq");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceIsNull() {
            addCriterion("ush_orPrice is null");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceIsNotNull() {
            addCriterion("ush_orPrice is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceEqualTo(String value) {
            addCriterion("ush_orPrice =", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceNotEqualTo(String value) {
            addCriterion("ush_orPrice <>", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceGreaterThan(String value) {
            addCriterion("ush_orPrice >", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orPrice >=", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceLessThan(String value) {
            addCriterion("ush_orPrice <", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceLessThanOrEqualTo(String value) {
            addCriterion("ush_orPrice <=", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceLike(String value) {
            addCriterion("ush_orPrice like", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceNotLike(String value) {
            addCriterion("ush_orPrice not like", value, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceIn(List<String> values) {
            addCriterion("ush_orPrice in", values, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceNotIn(List<String> values) {
            addCriterion("ush_orPrice not in", values, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceBetween(String value1, String value2) {
            addCriterion("ush_orPrice between", value1, value2, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpriceNotBetween(String value1, String value2) {
            addCriterion("ush_orPrice not between", value1, value2, "ushOrprice");
            return (Criteria) this;
        }

        public Criteria andUshOrpayIsNull() {
            addCriterion("ush_orPay is null");
            return (Criteria) this;
        }

        public Criteria andUshOrpayIsNotNull() {
            addCriterion("ush_orPay is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrpayEqualTo(String value) {
            addCriterion("ush_orPay =", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayNotEqualTo(String value) {
            addCriterion("ush_orPay <>", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayGreaterThan(String value) {
            addCriterion("ush_orPay >", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orPay >=", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayLessThan(String value) {
            addCriterion("ush_orPay <", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayLessThanOrEqualTo(String value) {
            addCriterion("ush_orPay <=", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayLike(String value) {
            addCriterion("ush_orPay like", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayNotLike(String value) {
            addCriterion("ush_orPay not like", value, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayIn(List<String> values) {
            addCriterion("ush_orPay in", values, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayNotIn(List<String> values) {
            addCriterion("ush_orPay not in", values, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayBetween(String value1, String value2) {
            addCriterion("ush_orPay between", value1, value2, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrpayNotBetween(String value1, String value2) {
            addCriterion("ush_orPay not between", value1, value2, "ushOrpay");
            return (Criteria) this;
        }

        public Criteria andUshOrstateIsNull() {
            addCriterion("ush_orState is null");
            return (Criteria) this;
        }

        public Criteria andUshOrstateIsNotNull() {
            addCriterion("ush_orState is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrstateEqualTo(String value) {
            addCriterion("ush_orState =", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateNotEqualTo(String value) {
            addCriterion("ush_orState <>", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateGreaterThan(String value) {
            addCriterion("ush_orState >", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orState >=", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateLessThan(String value) {
            addCriterion("ush_orState <", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateLessThanOrEqualTo(String value) {
            addCriterion("ush_orState <=", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateLike(String value) {
            addCriterion("ush_orState like", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateNotLike(String value) {
            addCriterion("ush_orState not like", value, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateIn(List<String> values) {
            addCriterion("ush_orState in", values, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateNotIn(List<String> values) {
            addCriterion("ush_orState not in", values, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateBetween(String value1, String value2) {
            addCriterion("ush_orState between", value1, value2, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrstateNotBetween(String value1, String value2) {
            addCriterion("ush_orState not between", value1, value2, "ushOrstate");
            return (Criteria) this;
        }

        public Criteria andUshOrdescIsNull() {
            addCriterion("ush_orDesc is null");
            return (Criteria) this;
        }

        public Criteria andUshOrdescIsNotNull() {
            addCriterion("ush_orDesc is not null");
            return (Criteria) this;
        }

        public Criteria andUshOrdescEqualTo(String value) {
            addCriterion("ush_orDesc =", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescNotEqualTo(String value) {
            addCriterion("ush_orDesc <>", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescGreaterThan(String value) {
            addCriterion("ush_orDesc >", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orDesc >=", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescLessThan(String value) {
            addCriterion("ush_orDesc <", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescLessThanOrEqualTo(String value) {
            addCriterion("ush_orDesc <=", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescLike(String value) {
            addCriterion("ush_orDesc like", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescNotLike(String value) {
            addCriterion("ush_orDesc not like", value, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescIn(List<String> values) {
            addCriterion("ush_orDesc in", values, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescNotIn(List<String> values) {
            addCriterion("ush_orDesc not in", values, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescBetween(String value1, String value2) {
            addCriterion("ush_orDesc between", value1, value2, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOrdescNotBetween(String value1, String value2) {
            addCriterion("ush_orDesc not between", value1, value2, "ushOrdesc");
            return (Criteria) this;
        }

        public Criteria andUshOramountIsNull() {
            addCriterion("ush_orAmount is null");
            return (Criteria) this;
        }

        public Criteria andUshOramountIsNotNull() {
            addCriterion("ush_orAmount is not null");
            return (Criteria) this;
        }

        public Criteria andUshOramountEqualTo(String value) {
            addCriterion("ush_orAmount =", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountNotEqualTo(String value) {
            addCriterion("ush_orAmount <>", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountGreaterThan(String value) {
            addCriterion("ush_orAmount >", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountGreaterThanOrEqualTo(String value) {
            addCriterion("ush_orAmount >=", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountLessThan(String value) {
            addCriterion("ush_orAmount <", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountLessThanOrEqualTo(String value) {
            addCriterion("ush_orAmount <=", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountLike(String value) {
            addCriterion("ush_orAmount like", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountNotLike(String value) {
            addCriterion("ush_orAmount not like", value, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountIn(List<String> values) {
            addCriterion("ush_orAmount in", values, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountNotIn(List<String> values) {
            addCriterion("ush_orAmount not in", values, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountBetween(String value1, String value2) {
            addCriterion("ush_orAmount between", value1, value2, "ushOramount");
            return (Criteria) this;
        }

        public Criteria andUshOramountNotBetween(String value1, String value2) {
            addCriterion("ush_orAmount not between", value1, value2, "ushOramount");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}